package com.uenpay.util.json;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by liulou on 2017/4/20.
 * desc: 首页便民功能实体类
 */

public class HomeFeaturesBean {

    @SerializedName("top")
    private List<Feature> topFeature;
    @SerializedName("show")
    private List<Feature> gridShowFeature;
    @SerializedName("hide")
    private List<Feature> gridHideFeature;

    public HomeFeaturesBean() {
        topFeature = new ArrayList<>();
        gridShowFeature = new ArrayList<>();
        gridHideFeature = new ArrayList<>();
    }

    public HomeFeaturesBean(List<Feature> topFeature, List<Feature> gridShowFeature, List<Feature> gridHideFeature) {
        this.topFeature = topFeature;
        this.gridShowFeature = gridShowFeature;
        this.gridHideFeature = gridHideFeature;
    }

    public List<Feature> getTopFeature() {
        return topFeature;
    }

    public void setTopFeature(List<Feature> topFeature) {
        this.topFeature = topFeature;
    }

    public List<Feature> getGridShowFeature() {
        return gridShowFeature;
    }

    public void setGridShowFeature(List<Feature> gridShowFeature) {
        this.gridShowFeature = gridShowFeature;
    }

    public List<Feature> getGridHideFeature() {
        return gridHideFeature;
    }

    public void setGridHideFeature(List<Feature> gridHideFeature) {
        this.gridHideFeature = gridHideFeature;
    }

    public static class Feature {
        private String name;
        private int icon;

        public Feature() {

        }

        public Feature(String name, int icon) {
            this.name = name;
            this.icon = icon;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getIcon() {
            return icon;
        }

        public void setIcon(int icon) {
            this.icon = icon;
        }
    }

}
